If no type-declaration character or keyword is specified, the DefBool statement sets the default data type for variables, according to a letter range.
DefBool ステートメントでは、型宣言子やキーワードが指定されない場合にデフォルトの変数型を適用する、変数名の文字範囲を指定します。
Defxxx Characterrange1[, Characterrange2[,...]]
Defxxx Characterrange1[, Characterrange2[,...]]
Characterrange: Letters that specify the range of variables that you want to set the default data type for.
Characterrange: デフォルトのデータ型の設定対象である変数の範囲を指定する文字。
xxx: Keyword that defines the default variable type:
xxx: デフォルトの変数型を定義するキーワード。
Keyword: Default variable type
キーワード:デフォルトの変数型
DefBool: Boolean
DefBool: ブール型
REM Prefix definition for variable types:
REM 各変数型に定義されているプレフィックス
DefBool b
DefBool b
DefDate t
DefDate t
DefDbL d
DefDbL d
DefInt i
DefInt i
DefLng l
DefLng l
DefObj o
DefObj o
DefVar v
DefVar v
Sub ExampleDefBool
Sub ExampleDefBool
bOK=TRUE REM bOK is an implicit Boolean variable
bOK=TRUE REM ここで bOKはブール型変数として解釈されます
end sub
end sub